﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Minotaur.App.Domains.Model.WorkBench
{
    /// <summary>
    /// 首页工作台
    /// </summary>
    [SugarTable("WorkBench")]
    public class WorkBench : EntityBase
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(ColumnName = "autoid", IsIdentity = true, IsPrimaryKey = true)]
        public long AutoId { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [SugarColumn(ColumnName = "type")]
        public int Type { get; set; }

        /// <summary>
        /// 模块编码
        /// </summary>
        [SugarColumn(ColumnName = "modulecode")]
        public string? ModuleCode { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        [SugarColumn(ColumnName = "code")]
        public string? Code { get; set; }

        /// <summary>
        /// 员工ID
        /// </summary>
        [SugarColumn(ColumnName = "empid")]
        public long? EmpId { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(ColumnName = "sequence")]
        public long? Sequence { get; set; }
    }
}
